import { usePageLoadingGuard } from "./page-loading-guard";
import { usePageTitleGuard } from "./page-title-guard";
import { usePermisssionGuard } from "./permission-guard";

export function useSetupRouterGuard(routes) {
  //设置页面切换进度条
  usePageLoadingGuard();
  //设置权限校验
  usePermisssionGuard(routes);
  //设置页面标题
  usePageTitleGuard(routes);
}
